package webservice.yy.mycustom;

public class CustOtherServicePortTypeProxy implements webservice.yy.mycustom.CustOtherServicePortType {
  private String _endpoint = null;
  private webservice.yy.mycustom.CustOtherServicePortType custOtherServicePortType = null;
  
  public CustOtherServicePortTypeProxy() {
    _initCustOtherServicePortTypeProxy();
  }
  
  public CustOtherServicePortTypeProxy(String endpoint) {
    _endpoint = endpoint;
    _initCustOtherServicePortTypeProxy();
  }
  
  private void _initCustOtherServicePortTypeProxy() {
    try {
      custOtherServicePortType = (new webservice.yy.mycustom.CustOtherServiceLocator()).getcustOtherServiceHttpPort();
      if (custOtherServicePortType != null) {
        if (_endpoint != null)
          ((javax.xml.rpc.Stub)custOtherServicePortType)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
        else
          _endpoint = (String)((javax.xml.rpc.Stub)custOtherServicePortType)._getProperty("javax.xml.rpc.service.endpoint.address");
      }
      
    }
    catch (javax.xml.rpc.ServiceException serviceException) {}
  }
  
  public String getEndpoint() {
    return _endpoint;
  }
  
  public void setEndpoint(String endpoint) {
    _endpoint = endpoint;
    if (custOtherServicePortType != null)
      ((javax.xml.rpc.Stub)custOtherServicePortType)._setProperty("javax.xml.rpc.service.endpoint.address", _endpoint);
    
  }
  
  public webservice.yy.mycustom.CustOtherServicePortType getCustOtherServicePortType() {
    if (custOtherServicePortType == null)
      _initCustOtherServicePortTypeProxy();
    return custOtherServicePortType;
  }
  
  public java.lang.String signRemark(java.lang.String in0, java.lang.String in1) throws java.rmi.RemoteException{
    if (custOtherServicePortType == null)
      _initCustOtherServicePortTypeProxy();
    return custOtherServicePortType.signRemark(in0, in1);
  }
  
  public mycustom.yy.webservice.MyUserBean[] getIdByuserName(java.lang.String in0) throws java.rmi.RemoteException{
    if (custOtherServicePortType == null)
      _initCustOtherServicePortTypeProxy();
    return custOtherServicePortType.getIdByuserName(in0);
  }
  
  public java.lang.String dealFujian(java.lang.String in0, java.lang.String in1) throws java.rmi.RemoteException{
    if (custOtherServicePortType == null)
      _initCustOtherServicePortTypeProxy();
    return custOtherServicePortType.dealFujian(in0, in1);
  }
  
  public mycustom.yy.webservice.MyUserBean[] getUserByRole(java.lang.String in0) throws java.rmi.RemoteException{
    if (custOtherServicePortType == null)
      _initCustOtherServicePortTypeProxy();
    return custOtherServicePortType.getUserByRole(in0);
  }
  
  
}